@import "../mixins";
@import "../vars";

page{
    background-color: #f2f3f5 !important;
}

.arrow-down {
    position: relative;
    width: 8px;
    height: 8px;
    display: inline-block;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(135deg);
    margin-top: -4px;
}

.van-search-class {
    padding: 0 10px !important;
}

.van-search-field {
    height: 30px !important;
}

.index-top {
    background-color: @color-primary;
    padding: 0 10px 10px;
}

.youxuan {
    background-color: #FAB22D;
    border-radius: 8px;
    padding: 5px;

    .product-list {
        background-color: #fff;
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        padding: 8px 0;
        min-height: 150px;

        .product-item {
            width: 25%;
            min-width: 25%;
            max-width: 25%;
            text-align: center;
            display: block;
            padding: 5px 0;
            box-sizing: border-box;
        }
    }
}

.index-tabs {
    display: flex;
    background-color: #fff;
    padding: 15px 0;

    .tab-item {
        flex: 1;
        text-align: center;

        .tab-link {
            font-size: 14px;
            font-weight: 500;
            border-bottom: 3px transparent solid;
        }
    }

    .tab-active {
        .tab-link {
            font-size: 16px;
            border-bottom: 3px @color-primary solid;
        }
    }
}

.arrow-25 {
    width: 25px;
    height: 25px;
}

.menu-swiper {
    height: 110px;
    background-color: #ffffff;
}

.dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 999;

    &-arrow {
        position: absolute;
        right: 4px;
        bottom: -6px;
        color: #353535;
        z-index: 999;
    }

    &-content{
        color: #fff;
        background-color: #353535;
        border-radius: 5px;
        padding: 8px 0;
    }

    &-menu {
        display: block;
        text-align: center;
        padding: 8px;
        font-size: 14px;
        line-height: 1;
        width: 100px;
    }
}
